AGI STK VGT 11 Send comments on this topic.
[Python]
See Also

Description

Get Times From Defined Time Instant and create an cell array
# IAgStkObjectRoot root: STK Object Model Root 
# IAgCrdnProvider vgtSat: Vector Geometry Tool Interface 
# Change DateFormat dimension to epoch seconds to make the time easier to handle in 
# Python 
root.UnitPreferences.Item('DateFormat').SetCurrentUnit('EpSec') 
satStart= vgtSat.Events.Item('AvailabilityStartTime') 
start = satStart.FindOccurrence().Epoch 
 
satStop= vgtSat.Events.Item('AvailabilityStopTime') 
stop = satStop.FindOccurrence().Epoch 
interval = [[start],[540],[600],[stop  #EpSec
© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface